## Basic tool info Tool name: FreshIdeas/Movie-poster-style-LoRA-Flux v1.0 Tool description: Generate images using Flux and Movie poster style LoRA Tool cover: https://cdn.wiro.ai/uploads/models/FreshIdeas-Movie-poster-style-LoRA-Flux v1.0-cover.jpeg Tool categories: - model - text-to-image - checkpoint-file - lora-flux - bf16 - persistent Tool tags: - style Run Task Endpoint (POST): https://api.wiro.ai/v1/Run/FreshIdeas/Movie-poster-style-LoRA-Flux v1.0 Get Task Detail Endpoint (POST): https://api.wiro.ai/v1/Task/Detail ## Tool Inputs: - name: prompt label: prompt help: prompt-help type: textarea default: FRESH IDEAS Movie poster style,Woman in Black Coat with Gold ButtonsThe image features a young woman with long, wavy brown hair and striking blue eyes. She is wearing a black coat with gold buttons, which adds a touch of elegance to her appearance. Her expression is neutral, with a hint of pensiveness, and she is looking directly at the camera. The background appears to be the interior of a vehicle, possibly a train or bus, with warm, dim lighting that creates a cozy yet slightly mysterious atmosphere. The focus is clearly on the woman, with the background elements blurred, emphasizing her as the main subject. The overall color palette is warm, with shades of brown and gold dominating the scene. - name: samples label: numberofoutputs help: numberofoutputs-help type: number default: 1 - name: steps label: inferencesteps help: inferencesteps-help type: number default: 20 - name: scale label: guidancescale help: guidancescale-help type: float default: 3.8 - name: seed label: seed help: seed-help type: text default: 123456 - name: width label: width help: width-help type: number default: 1024 - name: height label: height help: height-help type: number default: 1024 ## Tool Parameter Inspires: - seed: 34322265 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Woman in Black Coat with Gold ButtonsThe image features a young woman with long, wavy brown hair and striking blue eyes. She is wearing a black coat with gold buttons, which adds a touch of elegance to her appearance. Her expression is neutral, with a hint of pensiveness, and she is looking directly at the camera. The background appears to be the interior of a vehicle, possibly a train or bus, with warm, dim lighting that creates a cozy yet slightly mysterious atmosphere. The focus is clearly on the woman, with the background elements blurred, emphasizing her as the main subject. The overall color palette is warm, with shades of brown and gold dominating the scene. - negativePrompt: ,nsfw - seed: 36943924 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Elegant Woman in Silver Dress,The image features a woman in a shimmering silver dress adorned with sequins,which catch the light and create a striking visual effect. Her expression is calm and composed,with a subtle,confident gaze directed at the viewer. Her makeup is bold,with prominent eye shadow that complements the metallic tones of her outfit. The background is blurred,suggesting a setting with dim lighting and possibly other people,but they are not the focus. The overall atmosphere conveys a sense of elegance and sophistication,with the woman's attire and demeanor suggesting a formal or glamorous event. The interplay of light on the sequins adds a dynamic element to the image,enhancing its visual appeal., - negativePrompt: ,nsfw - seed: 40157624 - scale: 2 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image captures a poised,elegant elderly woman dressed in an opulent black lace and velvet dress. Her expression is serene and confident,with a slight,respectful smile,contributing to a dignified and sophisticated aura. She accessorizes with a prominent and intricate gold necklace and matching earrings,completing her regal appearance. Her hair is styled in a graceful,voluminous manner,enhancing her refined look. Generous light ****** the scene,highlighting her features and the rich textures of her attire,suggesting a setting of luxury and comfort. Her seated posture,with hands gently resting on her lap,and direct yet soft gaze towards the camera,invite admiration and respect,emphasizing her status and perhaps a narrative of wisdom and elegance in older age., - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 40157624 - scale: 2 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image captures a poised,elegant elderly woman dressed in an opulent black lace and velvet dress. Her expression is serene and confident,with a slight,respectful smile,contributing to a dignified and sophisticated aura. She accessorizes with a prominent and intricate gold necklace and matching earrings,completing her regal appearance. Her hair is styled in a graceful,voluminous manner,enhancing her refined look. Generous light ****** the scene,highlighting her features and the rich textures of her attire,suggesting a setting of luxury and comfort. Her seated posture,with hands gently resting on her lap,and direct yet soft gaze towards the camera,invite admiration and respect,emphasizing her status and perhaps a narrative of wisdom and elegance in older age., - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 40157624 - scale: 2 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image captures a poised,elegant elderly woman dressed in an opulent black lace and velvet dress. Her expression is serene and confident,with a slight,respectful smile,contributing to a dignified and sophisticated aura. She accessorizes with a prominent and intricate gold necklace and matching earrings,completing her regal appearance. Her hair is styled in a graceful,voluminous manner,enhancing her refined look. Generous light ****** the scene,highlighting her features and the rich textures of her attire,suggesting a setting of luxury and comfort. Her seated posture,with hands gently resting on her lap,and direct yet soft gaze towards the camera,invite admiration and respect,emphasizing her status and perhaps a narrative of wisdom and elegance in older age., - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 15698769 - scale: 2 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image is a close-up portrait of an elderly man with deeply etched lines marking his face, suggesting a life rich with experiences. Wisps of white hair escape from beneath a head covering, complementing his thick, white mustache. The man has a contemplative or perhaps distant gaze as he looks slightly off-camera, his weathered skin reflecting a life lived outdoors or in harsh conditions. A hand-rolled cigarette or similarly thin smoking implement is perched between his lips, from which a delicate stream of smoke rises, blurring part of his face in a wisp of haze and giving the photo an ephemeral quality. The sunlight softly illuminating his features creates a warm, golden hue, emphasizing the deep creases and texture of his skin. His attire appears to be a multi-colored garment, hinting at a culturally rich background, though it's not the central focus of the image. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 39987645 - scale: 2 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a close-up portrait of an elderly person with deep wrinkles and expressive eyes,conveying a sense of wisdom and experience. The subject's white hair frames their face,adding contrast to their warm skin tones. They are resting their chin on their hand,which is also detailed with visible lines and texture,suggesting contemplation or introspection. The vibrant red and gold fabric draped around their shoulder adds a striking pop of color,enhancing the overall composition. The background is dark and out of focus,ensuring the viewer's attention remains on the subject's face and expression. The image captures a moment of quiet reflection,emphasizing the beauty and dignity of aging., - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 83133163 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,A Santa Claus in a dramatic, chiaroscuro-style. One side of his face is dimly lit while the other half is obscured in deep dark shadow. His expression is mysterious while his eyes seeming to hold untold secrets. Deep shadows obscure his face and his crimson hat’s fur trim is faintly visible against the darkness. Framed in a vortex of snow and shadow. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 83133163 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,A Santa Claus in a dramatic, chiaroscuro-style. One side of his face is dimly lit while the other half is obscured in deep dark shadow. His expression is mysterious while his eyes seeming to hold untold secrets. Deep shadows obscure his face and his crimson hat’s fur trim is faintly visible against the darkness. Framed in a vortex of snow and shadow. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 83133163 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,A Santa Claus in a dramatic, chiaroscuro-style. One side of his face is dimly lit while the other half is obscured in deep dark shadow. His expression is mysterious while his eyes seeming to hold untold secrets. Deep shadows obscure his face and his crimson hat’s fur trim is faintly visible against the darkness. Framed in a vortex of snow and shadow. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 34818160 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a man with a striking appearance, characterized by his intense gaze and well-groomed beard. His hair is styled in a tousled, textured manner, adding to his rugged yet fashionable look. He is wearing a black jacket with metallic details, which complements his overall edgy style. The lighting highlights his facial features, emphasizing his sharp jawline and piercing eyes. The background is a simple, neutral tone, ensuring that the focus remains on the subject. The man's expression is serious and contemplative, adding a sense of depth and intrigue to the image. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 24304105 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a single human subject, a woman, who is the main focal point. She has fair skin and blonde hair, which gently flows to one side, suggesting movement or a breeze. Her expression is captivating and confident, with her eyes directly engaging the viewer, adding a bold and self-assured energy to the image. The woman's attire consists of a dark burgundy turtleneck and a large, puffy, brown leather jacket that gives the image a fashion-forward feel. The combination of the jacket's smooth texture and its voluminous shape contrasts with the sleek knit of the turtleneck. Her hands are tucked casually into her pockets, giving the pose a relaxed, yet strong, poised touch. The color palette of the image is rich yet muted, composed of complementary deep reds and browns that add warmth and depth. The background is simple and subdued, a monochrome grey that ensures the subject stands out without competing for attention. This particular choice helps to keep focus on the subject's features and wardrobe. Overall, the photograph exudes a modern, stylish vibe with an emphasis on the subject's poise and fashion sense. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 22298810 - scale: 3.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a close-up of a human subject with a serious expression. The individual is wearing a brown suit jacket over a dark turtleneck, which adds a sophisticated and formal tone to the image. The lighting highlights the texture of the skin, emphasizing the subject's facial features and creating a sense of depth. The background is a muted, solid color, which keeps the focus on the subject without any distractions. The overall color palette is composed of earthy tones, contributing to a warm and composed atmosphere. The subject's gaze is direct, adding intensity and engagement to the image. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 41972038 - scale: 3.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a young woman posing confidently against a clear blue sky. She is wearing a vibrant pink jacket and yellow pants, creating a striking contrast with the background. Her large, square sunglasses add a touch of modern style, and her expression is calm and poised. The sunlight highlights her features, giving the image a warm and inviting feel. Her hair is slightly tousled, adding a casual yet chic element to her appearance. The overall composition emphasizes bold colors and a sense of fashion-forward elegance. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 96846467 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a person wearing a black hooded jacket with striking red accents that glow, creating a futuristic and intense atmosphere. The subject's face is partially shadowed by the hood, emphasizing their focused and determined expression. The prominent colors are black and red, which contrast sharply and add to the dramatic effect. The glowing red lines on the jacket suggest a high-tech or cyberpunk theme, enhancing the image's modern and edgy feel. The background is dark and slightly blurred, drawing attention to the subject and their attire. The overall composition suggests a sense of mystery and intrigue, with the subject appearing ready for action or deep in thought. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 24475708 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features a close-up of a human subject, focusing on their face. The person has striking blue eyes and vibrant red lips, which stand out against their pale skin. Their expression is calm and introspective, with a slight hint of mystery. The subject's face is partially framed by a dark hood or fabric, adding a dramatic contrast to the image. The lighting is soft, highlighting the texture of the skin and the subtle freckles. The overall composition creates a sense of intimacy and focus on the subject's features. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 32800816 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,The image features an elderly man with a long, white beard and flowing gray hair, which frames his face and adds a sense of wisdom and experience. His expression is serious and contemplative, with deep-set eyes that convey a sense of introspection. The prominent colors in the image are earthy tones, with the man's clothing in shades of brown and beige, complementing the natural hues of his hair and beard. The background is blurred, keeping the focus on the man's face and expression. The lighting highlights the texture of his skin, emphasizing the lines and wrinkles that tell a story of a long life. This portrait captures a moment of quiet reflection, with the man's gaze directed slightly off-camera, suggesting a deep thought or memory. - negativePrompt: ng_deepnegative_v1_75t,(badhandv4:1.2),EasyNegative,(worst quality:2),,nsfw - seed: 36943924 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Elegant Woman in Silver Dress,The image features a woman in a shimmering silver dress adorned with sequins,which catch the light and create a striking visual effect. Her expression is calm and composed,with a subtle,confident gaze directed at the viewer. Her makeup is bold,with prominent eye shadow that complements the metallic tones of her outfit. The background is blurred,suggesting a setting with dim lighting and possibly other people,but they are not the focus. The overall atmosphere conveys a sense of elegance and sophistication,with the woman's attire and demeanor suggesting a formal or glamorous event. The interplay of light on the sequins adds a dynamic element to the image,enhancing its visual appeal., - negativePrompt: ,nsfw - seed: 34649835 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,FRESH IDEAS Movie poster style A serious expression on a person's face,possibly in character or deep thought., - negativePrompt: ,nsfw - seed: 32807870 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Contemplative Portrait of a Young Woman,The image features a close-up profile of a young woman against a dark background. Her skin is smooth and illuminated softly,highlighting her natural complexion. The focus is on her facial features,particularly her eye,which gazes thoughtfully into the distance,and her lips,which are slightly parted. Her hair is gently tousled,adding a touch of softness to the overall composition. The lighting creates a serene and contemplative mood,emphasizing the subject's calm expression. The background is blurred,ensuring that the attention remains on the subject's face., - negativePrompt: ,nsfw - seed: 32807871 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Contemplative Portrait of a Young Woman,The image features a close-up profile of a young woman against a dark background. Her skin is smooth and illuminated softly,highlighting her natural complexion. The focus is on her facial features,particularly her eye,which gazes thoughtfully into the distance,and her lips,which are slightly parted. Her hair is gently tousled,adding a touch of softness to the overall composition. The lighting creates a serene and contemplative mood,emphasizing the subject's calm expression. The background is blurred,ensuring that the attention remains on the subject's face., - negativePrompt: ,nsfw - seed: 34322265 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Woman in Black Coat with Gold ButtonsThe image features a young woman with long, wavy brown hair and striking blue eyes. She is wearing a black coat with gold buttons, which adds a touch of elegance to her appearance. Her expression is neutral, with a hint of pensiveness, and she is looking directly at the camera. The background appears to be the interior of a vehicle, possibly a train or bus, with warm, dim lighting that creates a cozy yet slightly mysterious atmosphere. The focus is clearly on the woman, with the background elements blurred, emphasizing her as the main subject. The overall color palette is warm, with shades of brown and gold dominating the scene. - negativePrompt: ,nsfw - seed: 34322266 - scale: 2.5 - steps: 60 - prompt: FRESH IDEAS Movie poster style,Woman in Black Coat with Gold ButtonsThe image features a young woman with long, wavy brown hair and striking blue eyes. She is wearing a black coat with gold buttons, which adds a touch of elegance to her appearance. Her expression is neutral, with a hint of pensiveness, and she is looking directly at the camera. The background appears to be the interior of a vehicle, possibly a train or bus, with warm, dim lighting that creates a cozy yet slightly mysterious atmosphere. The focus is clearly on the woman, with the background elements blurred, emphasizing her as the main subject. The overall color palette is warm, with shades of brown and gold dominating the scene. - negativePrompt: ,nsfw ## Integration Header Prepare ```bash # Sign up Wiro dashboard and create project export YOUR_API_KEY="{{useSelectedProjectAPIKey}}"; export YOUR_API_SECRET="XXXXXXXXX"; # unix time or any random integer value export NONCE=$(date +%s); # hmac-SHA256 (YOUR_API_SECRET+Nonce) with YOUR_API_KEY export SIGNATURE="$(echo -n "${YOUR_API_SECRET}${NONCE}" | openssl dgst -sha256 -hmac "${YOUR_API_KEY}")"; ``` ## Run Command - Make HTTP Post Request ```bash curl -X POST "https://api.wiro.ai/v1/Run/FreshIdeas/Movie-poster-style-LoRA-Flux v1.0" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "prompt": "FRESH IDEAS Movie poster style,Woman in Black Coat with Gold ButtonsThe image features a young woman with long, wavy brown hair and striking blue eyes. She is wearing a black coat with gold buttons, which adds a touch of elegance to her appearance. Her expression is neutral, with a hint of pensiveness, and she is looking directly at the camera. The background appears to be the interior of a vehicle, possibly a train or bus, with warm, dim lighting that creates a cozy yet slightly mysterious atmosphere. The focus is clearly on the woman, with the background elements blurred, emphasizing her as the main subject. The overall color palette is warm, with shades of brown and gold dominating the scene.", "samples": 1, "steps": 20, "scale": "3.8", "seed": "123456", "width": 1024, "height": 1024, "callbackUrl": "You can provide a callback URL; Wiro will send a POST request to it when the task is completed." }'; ``` ## Run Command - Response ```json { "errors": [], "taskid": "2221", "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt", "result": true } ``` ## Get Task Detail - Make HTTP Post Request with Task ID ```bash curl -X POST "https://api.wiro.ai/v1/Task/Detail" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "2221" }'; ``` ## Get Task Detail - Make HTTP Post Request with Socket Access Token ```bash curl -X POST "https://api.wiro.ai/v1/Task/Detail" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "tasktoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt" }'; ``` ## Get Task Detail - Response ```json { "total": "1", "errors": [], "tasklist": [ { "id": "2221", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "socketaccesstoken": "eDcCm5yyUfIvMFspTwww49OUfgXkQt", "parameters": {}, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_postprocess_end", "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Kill Task - Make HTTP Post Request with Task ID ```bash curl -X POST "https://api.wiro.ai/v1/Task/Kill" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "534574" }'; ``` ## Kill Task - Make HTTP Post Request with Socket Access Token ```bash curl -X POST "https://api.wiro.ai/v1/Task/Kill" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE" }'; ``` ## Kill Task - Response ```json { "errors": [], "tasklist": [ { "id": "534574", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "name": "", "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE", "parameters": { "inputImage": "https://api.wiro.ai/v1/File/mCmUXgZLG1FNjjjwmbtPFr2LVJA112/inputImage-6060136.png" }, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_cancel", "cps": "0.000585000000", "totalcost": "0.003510000000", "guestid": null, "projectid": "699", "modelid": "598", "description": "", "basemodelid": "0", "runtype": "model", "modelfolderid": "", "modelfileid": "", "callbackurl": "", "marketplaceid": null, "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "pexit": "0", "categories": "["tool","image-to-image","quick-showcase","compare-landscape"]", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "foldercount": "0", "filecount": "0", "ispublic": 0, "expiretime": null, "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Cancel Task - Make HTTP Post Request (For tasks on queue) ```bash curl -X POST "https://api.wiro.ai/v1/Task/Cancel" -H "Content-Type: multipart/form-data" -H "x-api-key: ${YOUR_API_KEY}" -H "x-nonce: ${NONCE}" -H "x-signature: ${SIGNATURE}" -d '{ "taskid": "634574" }'; ``` ## Cancel Task - Response ```json { "errors": [], "tasklist": [ { "id": "634574", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "name": "", "socketaccesstoken": "ZpYote30on42O4jjHXNiKmrWAZqbRE", "parameters": { "inputImage": "https://api.wiro.ai/v1/File/mCmUXgZLG1FNjjjwmbtPFr2LVJA112/inputImage-6060136.png" }, "debugoutput": "", "debugerror": "", "starttime": "1734513809", "endtime": "1734513813", "elapsedseconds": "6.0000", "status": "task_cancel", "cps": "0.000585000000", "totalcost": "0.003510000000", "guestid": null, "projectid": "699", "modelid": "598", "description": "", "basemodelid": "0", "runtype": "model", "modelfolderid": "", "modelfileid": "", "callbackurl": "", "marketplaceid": null, "createtime": "1734513807", "canceltime": "0", "assigntime": "1734513807", "accepttime": "1734513807", "preprocessstarttime": "1734513807", "preprocessendtime": "1734513807", "postprocessstarttime": "1734513813", "postprocessendtime": "1734513814", "pexit": "0", "categories": "["tool","image-to-image","quick-showcase","compare-landscape"]", "outputs": [ { "id": "6bc392c93856dfce3a7d1b4261e15af3", "name": "0.png", "contenttype": "image/png", "parentid": "6c1833f39da71e6175bf292b18779baf", "uuid": "15bce51f-442f-4f44-a71d-13c6374a62bd", "size": "202472", "addedtime": "1734513812", "modifiedtime": "1734513812", "accesskey": "dFKlMApaSgMeHKsJyaDeKrefcHahUK", "foldercount": "0", "filecount": "0", "ispublic": 0, "expiretime": null, "url": "https://cdn1.wiro.ai/6a6af820-c5050aee-40bd7b83-a2e186c6-7f61f7da-3894e49c-fc0eeb66-9b500fe2/0.png" } ], "size": "202472" } ], "result": true } ``` ## Task Status Information This section defines the possible task status values returned by the API when polling for task completion. ### Completed Task Statuses (Polling can stop) These indicate that the task has reached a terminal state — either success or failure. Once any of these is received, polling should stop. - task_postprocess_end : Task completed successfully and post-processing is done. - task_cancel : Task was cancelled by the user or system. ### Running Task Statuses (Continue polling) These statuses indicate that the task is still in progress. Polling should continue if one of these is returned. - task_queue : Task is waiting in the queue. - task_accept : Task has been accepted for processing. - task_assign : Task is being assigned to a worker. - task_preprocess_start : Preprocessing is starting. - task_preprocess_end : Preprocessing is complete. - task_start : Task execution has started. - task_output : Output is being generated.